package com.luoc.spring.visitPattern;

/**
 * @author luoc
 * @version 1.0
 * @date 2021/3/19 9:33
 * @since 1.0
 */
public class Engineer implements Staff{

    @Override
    public void accept(Visitor visitor) {
        System.out.println("Engineer");
        visitor.visit(this);
    }
}
